<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>募集账户</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<style>
		*{
			margin:0;
			padding:0;
		}
			.main{
				padding:0.3rem;
				height:auto;
				font-size: 0.3rem;
			}
			.main p{
				line-height: 0.6rem;
			}
		</style>
	</head>
	<body>
		<div class='main'></div>
		
		<script type="text/javascript" src="../js/common.js" ></script>
		<script type="text/javascript" src="../js/rem.js" ></script>
		<script type="text/javascript" src="../js/jquery-1.11.0.js" ></script>
		<script type="text/javascript" src="../js/aikxian-common.js?id=0001" ></script>
		<script type="text/javascript" src="../js/Base64.min.js" ></script>
		<script>
			$(window).load(function(){
				//====
				var prodId=$.getUrlParam('prodId');
				var userId=$.getUrlParam('userId');
				var type=$.getUrlParam('type');
//				var str="{'prodId':'1554'}";
				var str="{'prodId':'"+prodId+"'}";
				str = Base64.encode(str);
				jQuery(function(){
					jQuery.ajax({
						url:To_raise,
						type:"post",
						dataType:"text",
						data:{commonURL:To_raise,"opName":"get_product_accountinfo",'param':str,'osFlag':'5'},
						async:false,
						success:function(serverinfo){
							console.log(serverinfo)
							var Data=decodeURI(Base64.decode(serverinfo));
							console.log(Data)
							Data=JSON.parse(Data);
							if(Data.retCode==0){
								var innerList=Data.innerList;
								for(var i=0;i<innerList.length;i++){
									if(innerList[i].flag==1){
										var $p=$('<p>'+innerList[i].title+'：<span style="color:red;">'+innerList[i].value+'</span></p>')
									}else{
										var $p=$('<p>'+innerList[i].title+'：'+innerList[i].value+'</p>');
									}
									$(".main").append($p);
								}
							}else{
								$(".main").html('暂无数据')
							};
							console.log(Data);
						}
					});
				});
			//====		
	});
		</script>
	</body>
</html>
